﻿using System.Threading.Tasks;

namespace Sidvall.Net
{
    public interface IProxyStrategy
    {
        ProxySettings Proxy { get; }
        bool ProxyIsLoaded { get; }

        void LoadProxy(string content);
        void LoadProxy(ProxySettings proxy);
        Task LoadProxyAsync(bool refresh);
        Task SaveProxyAsync();
    }
}
